include ../Makefile.am

#objective files...

#log_srv_mem_pool.o //the memory pool will be added if we reach the bottleneck
OBJS := log_srv_main_framer.o log_srv_plugin_file.o log_srv_plugin_color.o log_srv_policy.o  \
 	    log_srv_protocol_tcp.o log_srv_protocol_udp.o 

EXE :=  hplogd

.PHONY: all clean test

%.cpp : %.h
%.o : %.cpp
	$(CC) $(CFLAGS) -c $<


all : $(EXE)
	#cp $(EXE) $(BIN_DIR)


clean :
	rm -f *.o *.a $(EXE)
	#rm -rf $(BIN_DIR)/$(EXE)

$(EXE) : $(OBJS) 
	$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) 



